<h2 class="contentTitle" style="margin-bottom:0px;">添加文章</h2>
<div class="page">
  <div class="pageContent" layouth="31">
    <form method="post" action="<?php echo Yii::app()->request->requestUri?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
      <div class="mypageFormContent" style="clear:both;margin-left:24px;padding:8px 0px;">
        <table>
          <tr>
            <th style="width:80px;">分类名：</th>
            <td><input type="text" name="name" size="30" class="required textInput" value="<?php echo $category->name;?>" /></td>
          </tr>
         <tr>
            <th style="width:80px;">选择模型：</th>
            <td>
              <select name="model_type" class="required">
                <option value="0" <?php if($category->model_type == 0)echo 'selected';?>>文章模型</option>
                <option value="1" <?php if($category->model_type == 1)echo 'selected';?>>链接模型</option>
              </select>
            </td>
          </tr>
          <tr>
            <th></th><td><div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;&nbsp;提交&nbsp;&nbsp;</button></div></div></td>
          </tr>
        </table>
      </div>
    </form>
  </div>
</div>
